<template>
  <view class="content">
    <navigator v-for="page in pages" :key="page.path" :url="`/${page.path}`">
      <button size="mini">{{ page.style.navigationBarTitleText }}</button>
    </navigator>
  </view>
</template>

<script setup lang="ts">
import { pages } from '@/pages.json';

</script>

<style>
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
</style>
